package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.PrizeDrawActivityTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class WebActivityBasicsVO {
    @ApiModelProperty(value = "唯一标识ID")
    private Long id;

    @ApiModelProperty(value = "活动名称")
    private String nameActivity;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "开奖时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lotteryTime;

    @ApiModelProperty(value = "封面图片")
    private String coverImg;

    @ApiModelProperty(value = "规则图片")
    private String ruleImg;

    @ApiModelProperty(value = "类型 GUESSING_ACTIVITY:竞猜活动 PARTITION_ACTIVITY:瓜分活动")
    private PrizeDrawActivityTypeEnum type;

    @ApiModelProperty(value = "开始时间戳")
    private Long startTimeStamp;

    @ApiModelProperty(value = "结束时间戳")
    private Long endTimeStamp;

    @ApiModelProperty(value = "当前时间戳")
    private Long nowTimeStamp;

}
